import request from '@/utils/request'

// 关键词检索
export function searchByKeyword(query) {
	return request({
		url: '/api/search',
		method: 'get',
		params: {
			keyword: query.keyword,
			pageNum: query.pageNum,
			pageSize: query.pageSize
		}
	})
}
